package file_io;

import java.io.*;

public class TranferIO {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("src/test.txt");
        InputStreamReader isr = new InputStreamReader(fis,"UTF-8");
        char[] chars = new char[10];
        int read = isr.read(chars);
        /*System.out.println((char)read);*/
        System.out.println(read);
        System.out.print(chars);
        isr.close();

    }
}
